﻿namespace Ayatta.Contract.Domain
{
    public class ProductCategoryProp : IEntity<int>
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public bool IsSaleProp { get; set; }
        public bool IsKeyProp { get; set; }
        public bool IsColorProp { get; set; }
        public bool Required { get; set; }
        public bool AllowAlias { get; set; }
        public int ParentPid { get; set; }
        public int ParentVid { get; set; }
        public int CategoryId { get; set; }
        public PropType Type { get; set; }
        public int Priority { get; set; }
        public string ChildTemplate { get; set; }
        public byte Status { get; set; }
    }
    public enum PropType:byte
    {
        Text = 0,
        Optional,
        OptionalText,
        MultiCheck,
        MultiCheckText
    }
}